package com.manager.model.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


import java.util.Date;

@Data
@ApiModel(description = "客户基本信息")
@TableName(value ="customer")
public class Customer {

    @ApiModelProperty(value = "id")
    @TableField("id")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "姓名")
    @TableField("name")
    private String name;

    @ApiModelProperty(value = "电话")
    @TableField("phone")
    private String phone;

    @ApiModelProperty(value = "线索创建时间")
    @TableField("createTime")
    private Date createTime;

    @ApiModelProperty(value = "最近互动时间")
    @TableField("pre_time")
    private Date preTime;

    @ApiModelProperty(value = "城市")
    @TableField("city")
    private String city;

    @ApiModelProperty(value = "微信")
    @TableField("wechat")
    private String wechat;

    @ApiModelProperty(value = "销售id")
    @TableField("seller_id")
    private Integer sellerId;

    @ApiModelProperty(value = "报名状态")
    @TableField("enroll_status")
    private String enrollStatus;

    @ApiModelProperty(value = "意向国家")
    @TableField("to_country")
    private String toCountry;

    @ApiModelProperty(value = "签约状态")
    @TableField("sign_status")
    private String signStatus;

    @ApiModelProperty(value = "无效状态")
    @TableField("status")
    private String status;

    @ApiModelProperty(value = "定金状态")
    @TableField("money_status")
    private String moneyStatus;

    @ApiModelProperty(value = "已付金额")
    @TableField("pay")
    private String pay;

    @ApiModelProperty(value = "客户类别")
    @TableField("type_id")
    private String typeId;

    @ApiModelProperty(value = "客户等级")
    @TableField("level_id")
    private String levelId;

    @ApiModelProperty(value = "报名国家")
    @TableField("country_id")
    private String countryId;

    @ApiModelProperty(value = "报名项目")
    @TableField("project_id")
    private String projectId;

    @ApiModelProperty(value = "代理商")
    @TableField("agent_id")
    private String agentId;
}
